package com.git.util;

import java.io.InputStream;
import java.util.Properties;

public class PropLoader {

	private Properties prop;

	public PropLoader(String path) {
		InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream(path);
		prop = new Properties();
		try {
			prop.load(inputStream);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public Properties getProp() {
		return prop;
	}

}
